#Makefile: Andy's Lab1 Calculator

#target to generate all executable files
all: mycalc

#target to generate mycalc
mycalc: mycalc.c
	gcc -Wall -ansi -lreadline -lcurses mycalc.c -o mycalc

#target to clean the directory
clean:
	rm -f history.txt registers.txt mycalc